package top.lenjon.lib.model;

import lombok.Data;

import javax.validation.constraints.NotBlank;

/**
 * @Author whz
 * @Date 2020/11/8 22:42
 **/
@Data
public class LoginModel {
    @NotBlank(message = "用户名不能为空")
    private String username;
    @NotBlank(message = "密码不能为空")
    private String password;
    private int type;
}
